package com.shop.common.entity.paper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("考卷库实体")
public class Paper implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    @ApiModelProperty(value = "编号")
    private String code;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "是否公开")
    private Integer isPublic;

    @ApiModelProperty(value = "介绍")
    private String intro;

    @ApiModelProperty(value = "及格分数")
    private Integer passingMark;

    @ApiModelProperty(value = "前置课程")
    private String courseIds;

    @ApiModelProperty(value = "考试时间(分钟)")
    private Integer time;

    @ApiModelProperty(value="总分值")
    private Integer score;

    @ApiModelProperty(value = "学分")
    private Integer credit;

    @ApiModelProperty(value = "状态:0禁用，1启用")
    private Integer status;

    @ApiModelProperty(value = "")
    private Long createTime;

    @ApiModelProperty(value = "")
    private Long updateTime;

    @ApiModelProperty(value = "")
    private Integer isDelete;

    @ApiModelProperty(value = "")
    private Long deleteTime;

}